package org.jeecg.modules.demo.com.kunpeng.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.demo.com.kunpeng.entity.SupplierManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.com.kunpeng.entity.dto.SupplierManagementQueryListDTO;
import org.jeecg.modules.demo.com.kunpeng.vo.SupplierManagementQueryListVO;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Description: 供应商管理表
 * @Author: jeecg-boot
 * @Date:   2023-01-09
 * @Version: V1.0
 */
@Transactional
public interface ISupplierManagementService extends IService<SupplierManagement> {


    /**
     * 新增
     * @param supplierManagement
     */
    void insert(SupplierManagement supplierManagement);

    /**
     * 关键字查询
     * @param page
     * @param supplierManagementQueryListDTO
     * @return
     */
    Page<SupplierManagementQueryListVO> queryListByKeyWords(Page<SupplierManagementQueryListVO>page, SupplierManagementQueryListDTO supplierManagementQueryListDTO);

    /**
     * 修改是否删除状态
     * @param id
     * @param isDelete
     */
    void updateIsDelete(String id,String isDelete);
}
